home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Is it possible to dynamically install/remove a part?
- Sent: 3/21/96 8:46 AM
- Received: 3/21/96 9:00 AM
- From: lamiraux@apple.com
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >I'd like to be able to dynamically install and remove parts from my container
- >during runtime. The idea is to have a button that you can press to bring
- >parts up that you can then work with, and then remove the parts when you
- >are finished.
- >
- >Any recipes for this? Either OpenDoc or ODF recipes would be fine.
- >
- >Thanks.
- >--
- >
- >--BobC
- >
- > Bob Carpenter
- > Boeing Commercial Airplanes
- > bobc@bcstec.ca.boeing.com
-
- You need to instantiate a part by calling ODDraft::CreatePart and then
- call FW_CPresentation::Embed with the frame parameter to NULL. Embed with
- automatically create an ODFrame for you. Be careful about refcounting
- when calling ODDraft::CreatePart.
-
- .......................................................................
- Henri Lamiraux lamiraux@apple.com
- Apple Computer, Inc. OpenDoc(tm) Development Framework
- .......................................................................
-
-
-